export interface toolsItem {
  key: string;
  label: string;
  icon?: string;
  children?: toolsItem[];
}
const tools: toolsItem[] = [
  {
    key: "baseMap",
    label: "底图",
    icon: "icon-dituqiehuan_0",
    children: [
      {
        key: "tiandituVecLayer",
        label: "天地图矢量",
      },
      {
        key: "tiandituImgLayer",
        label: "天地图影像",
      },
      {
        key: "tiandituCesuimLayer",
        label: "cesuim影像",
      },
    ],
  },
  {
    key: "location",
    label: "坐标拾取",
    icon: "icon-dingwei",
  },
  {
    key: "paint",
    label: "绘图",
    icon: "icon-huituguanlixinxi",
    children: [
      {
        key: "LineString",
        label: "线",
      },
      {
        key: "Polygon",
        label: "多边形",
      },
      {
        key: "Rectangle",
        label: "矩形",
      },
      {
        key: "Circle",
        label: "圆",
      },
    ],
  },
  {
    key: "clear",
    label: "清除",
    icon: "icon-qingchu",
  },
  {
    key: "screenShot",
    label: "截图",
    icon: "icon-jietu_huaban",
  },
];
export { tools };
